package cn.hn.yh.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class index {
    @RequestMapping({"/", "/index"})
    public String toIndex() {
        return "index";
    }

    @RequestMapping("/ddjh")
    public String toDdjh() {
        return "ddjh/daDdjh";
    }

    @RequestMapping("/fhyc")
    public String toFhyc() {
        return "fhyc/stFhyc";
    }

    @RequestMapping("/sjxh")
    public String toSjxh() {
        return "sjxh/daSjxh";
    }

    @RequestMapping("/success")
    public String toSuccess() {
        return "success/success";
    }
}
